package com.yc.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 举报记录表
 * @TableName report
 */
@TableName(value ="report")
@Data
public class Report implements Serializable {
    /**
     * 举报记录编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 被举报用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 举报用户id
     */
    @TableField(value = "reporter_id")
    private Integer reporterId;

    private Integer houseId;
    /**
     * 举报内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 举报时间
     */
    @TableField(value = "time")
    private Date time;

    /**
     * 举报状态(0审核中，1已通过，2未通过)
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 举报人是否匿名(0表示匿名，1表示不匿名)
     */
    @TableField(value = "anonymous")
    private Integer anonymous;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}